﻿@if (CurrentUser != null && CurrentUser.Identity.IsAuthenticated)
{
    @:欢迎您,@Context.User.Identity.Name, @Html.ActionLink("注销", "SignOut", "Account")
}
else
{
    @:你还没有登录,@Html.ActionLink("登录", "LogOn", "Account"). @Html.ActionLink("注册", "Register", "Account")
}
